/*
    @author:sa
    @date:2024/11/13 16:40
*/
public class MethodParam01 {
    public static void main(String[] args) {
        int[] a = new int[1];
        a[0] = 1;
        add(a);
        System.out.println("main:" + a[0]);
    }

    public static void add(int[] a) {
        a[0]++;
        System.out.println("add:" + a[0]);
    }
}